package java_base;

import java.util.Arrays;

// 二维数组
public class Demo03_Arrays {
    public static void main(String[] args) {
//        int [] [] array = {{1,2},{3,4},{5,6},{7,8}};
//        System.out.println(array.length);
//        System.out.println(array[0].length);
//        for (int i = 0; i < array.length; i++) {
//            for (int j=0; j <array[i].length;j++)
//                System.out.println(array[i][j]);
////            Arrays


            
//        }
    int []  a = {1,2,66,4,99,7,8};
//    Arrays.sort(a);
//        System.out.println(Arrays.toString(a));
    Arrays.fill(a,2,4,0);
        System.out.println(Arrays.toString(a));

    }
}
